//
//  AppContext.h
//  YiJuZhangShou
//
//  Created by 冷悦 on 16/3/3.
//  Copyright © 2016年 Uranus. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@interface AppContext : NSObject

@property (nonatomic, assign, readonly) AFNetworkReachabilityStatus networkingStatus; //设备的网络状态

@property (nonatomic, copy, readonly) NSString *systemName; //系统名称

@property (nonatomic, copy, readonly) NSString *systemVersion; //系统版本

@property (nonatomic, copy, readonly) NSUUID *uniqueIdentifier; //版本识别号

@property (nonatomic, copy, readonly) NSString *name; //设备名称

@property (nonatomic, copy, readonly) NSString *model; //设备model型号

@property (nonatomic, copy, readonly) NSString *localizedModel; //设备本地model 型号

@property (nonatomic, copy) NSUUID *pushToken; //苹果发送的推送Token

@property (nonatomic, copy) NSString *appToken; //app的token

@property (nonatomic, copy, readonly) NSString *appVersion; //软件版本

@property (nonatomic, strong) CLLocation *location; //用户位置信息

@property (nonatomic, copy) NSString *baseUrl; //上架之后可以通过这个变量来更改发送的url

@property (nonatomic, assign) NSInteger userId; //当前的用户id

@property (nonatomic, assign) NSInteger projectId; //当前的projectId

+ (instancetype)sharedInstance;

@end
